package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.QualityReject;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-qar-srv")
public interface QualityRejectService {

	@RequestMapping(value = "/p/cs/QualityRejectService/insert",method = RequestMethod.POST)
	public ResultBean insert(@RequestBody QualityReject obj);
	
	@RequestMapping(value = "/p/cs/QualityRejectService/insertBatch",method = RequestMethod.POST)
	public ResultBean insertBatch(@RequestBody List<QualityReject> list);
	
	@RequestMapping(value = "/p/cs/QualityRejectService/deleteBatch",method = RequestMethod.POST)
	public ResultBean deleteBatch(@RequestBody List<QualityReject> list);
	
	@RequestMapping(value = "/p/cs/QualityRejectService/selectByCondition",method = RequestMethod.POST)
	public ResultBean selectByCondition(@RequestBody QualityReject obj);
	
}
